package git.soulbgm.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * @author 贺瑞杰
 * @version V1.0
 * @date 2018-10-18 9:23
 * @description
 */
@Configuration
@ConfigurationProperties(prefix = "config", ignoreUnknownFields = false)
@PropertySource("classpath:config/config.properties")
@Data
public class SysConfig {

    /**
     * TCP客户端连接服务器的IP
     */
    private String tcpHost;
    /**
     * TCP客户端连接服务的端口
     */
    private int tcpPort;
    /**
     * TCP传输数据的线程数
     */
    private int tcpWorkerThreadNumber;

}
